home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ian & Stuart's Australian Mac 1993 September
/
clonecd
/
September 93.img
/
Archives
/
Applications
/
Clocks
/
Moon
/
moondoc
< prev
Wrap
Text File
|
1991-11-21
|
1KB
|
35 lines
Moon
by David Palmer
palmer@caltech.edu
Moon is a program which draws a window with the current phase
of the moon. It was an attempt at a minimal application,
taking about 4 hours to write.
Code was stolen from the 'Bullseye' sample application in
Think C and the program 'Moontool', which is a much fancier
version of the same thing for Sun computers, written by
John Walker of Autodesk. The code I wrote is less than 50 lines.
It has not been extensively debugged. It has run under System 7
on an SE/30 with a color screen, and under System 6.0.5
on and SE with the standard monochrome. If it doesn't
work, pitch it. If it formats yor hard disk, be glad
you make backups every single day. I take no responsibility.
This program does not have
The ability to save the location of the window. To change
the default size and position of the window, use ResEdit
on the appropriate resource.
An option for the Southern hemisphere (where the Moon spells
COD instead of DOC)
This program is distributed as Freeware...
If you like it, strike a blow against Tyranny.
David Palmer
palmer@caltech.edu